$OpenBSD: patch-source_fitz_load-jpx_c,v 1.1 2014/11/29 13:25:23 sthen Exp $

cope with API change in openjpeg 2.1.0

--- source/fitz/load-jpx.c.orig	Sat Nov 29 00:01:34 2014
+++ source/fitz/load-jpx.c	Sat Nov 29 00:01:39 2014
@@ -117,7 +117,7 @@ fz_load_jpx(fz_context *ctx, unsigned char *data, int 
 	opj_stream_set_read_function(stream, fz_opj_stream_read);
 	opj_stream_set_skip_function(stream, fz_opj_stream_skip);
 	opj_stream_set_seek_function(stream, fz_opj_stream_seek);
-	opj_stream_set_user_data(stream, &sb);
+	opj_stream_set_user_data(stream, &sb, NULL);
 	/* Set the length to avoid an assert */
 	opj_stream_set_user_data_length(stream, size);
 
